package com.huawei.translate.vo.user;

public enum UserRoleType {

    RENTER, ADMIN;

    public String getDescription() {
        return name();
    }

    public static UserRoleType getRole(int role) {
        return role == 0 ? RENTER : ADMIN;
    }
}
